package endcourseproject;

public class Travel extends Behavior 
{
	
	public Travel(int direction)
	{
		_direction = direction;
	}

	private int _direction = 0;
	@Override
	public int getDirection() {
		return _direction;
	}

	@Override
	public float getMagnitude() {
		return 5;
	}
	
	public void run()
	{
		while(true)
		{
			//Common.sleep(1000);
			Common.sleep(10);
		}
	}

}
